package org.example.baizhi.beans;


import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPoolConfig;

@Configuration
public class RedisBean {

    @Bean
    public Jedis getJedis(){
        return new Jedis("192.168.1.100",6379);
    }
}
